<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            text-align: center;
        }
        .content{
            margin: 200px auto;
        }
        .tip-msg{
            font-size: 22px;
            margin-bottom: 40px;
        }
        .btn-box{
            width: 300px;
            margin: auto;
            display: flex;
            justify-content: space-between;
        }
        .btn-box div{
          height: 40px;
            line-height: 40px;
            background: #2064fb;
            color: #ffffff;
            font-size: 15px;
            padding: 0 8px;
            border-radius: 4px;
        }
        .btn-box div a{
            color: #ffffff;
        }

    </style>
</head>
<body>

{%csrf_token%}
<div class="content">
    <h2 class="tip-msg">您的权限不够,继续访问页面</h2>
    <div class="btn-box">
        <div><a style="cursor:pointer" onclick="history.back()">返回上一页面</a></div>
        <div><a href="/">返回网站首页</a></div>
    </div>
</div>
</body>
</html>